Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 2 - Core Printing Features / Core Printing Features Reference
Functions / Converting a Print Record


GXConvertPrintRecord

You can use the GXConvertPrintRecord function to translate a print record into a job object.

void GXConvertPrintRecord (gxJob aJob, THPrint aPrint);
aJob
A reference to the job object to receive the converted data.
aPrint
The print record to be converted.
DESCRIPTION
QuickDraw GX copies contents of the specified print record into the specified job object. Before you call the GXConvertPrintRecord function, you must first allocate space for the job object using the GXNewJob function. QuickDraw GX attempts to preserve as much print record information as possible.

In addition to converting the print record, you must also translate QuickDraw data by calling the QuickDraw GX Translator functions, GXInstallQDTranslator and GXRemoveQDTranslator, or by calling the GXConvertPICTToShape function.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
SEE ALSO
Listing 2-18 on page 2-45 shows how to use the GXConvertPrintRecord function to convert a print record into a job object.

The GXNewJob function is described on page 2-54.

The QuickDraw GX Translator functions, GXInstallQDTranslator and GXRemoveQDTranslator, are discussed in the environment chapter of Inside Macintosh: QuickDraw GX Environment and Utilities.

For information about the GXConvertPICTToShape function, see the environment chapter of Inside Macintosh: QuickDraw GX Environment and Utilities.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help